package com.zzh.api.member.service;

import com.zzh.api.base.response.BaseResponse;
import com.zzh.api.member.entity.MemberEntity;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author zihong.zheng
 * @version 1.0
 * @date 2019/2/7
 * @time 17:34
 * @description
 */
public interface IMemberService {

    /**
     * 获取会员信息
     * @param name
     * @return
     */
    @RequestMapping("/getMember")
    public MemberEntity getMember(@RequestParam("name")String name);


    /**
     * 订单对应用户信息
     */
    @RequestMapping("/orderToMemberInfo")
    public BaseResponse orderToMemberInfo();


    /**
     * 获取会员信息
     * @return
     */
    @RequestMapping("/getUserInfo")
    public BaseResponse getUserInfo();
}
